Class: Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client::Configuration
- Inherits:
-
Object
- Object
- Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client::Configuration
- Extended by:
- Gapic::Config
- Defined in:
- lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb
Overview
Configuration class for the AnalyticsAdminService API.
This class represents the configuration for AnalyticsAdminService, providing control over timeouts, retry behavior, logging, transport parameters, and other low-level controls. Certain parameters can also be applied individually to specific RPCs. See Rpcs for a list of RPCs that can be configured independently.
Configuration can be applied globally to all clients, or to a single client on construction.
Defined Under Namespace
Classes: Rpcs
Instance Attribute Summary collapse
-
#channel_args ⇒ ::Hash
Extra parameters passed to the gRPC channel.
-
#credentials ⇒ ::Object
Credentials to send with calls.
-
#endpoint ⇒ ::String
The hostname or hostname:port of the service endpoint.
-
#interceptors ⇒ ::Array<::GRPC::ClientInterceptor>
An array of interceptors that are run before calls are executed.
-
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging.
-
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging.
-
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional gRPC headers to be sent with the call.
-
#quota_project ⇒ ::String
A separate project against which to charge quota.
-
#retry_policy ⇒ ::Hash
The retry policy.
-
#scope ⇒ ::Array<::String>
The OAuth scopes.
-
#timeout ⇒ ::Numeric
The call timeout in seconds.
Instance Method Summary collapse
-
#rpcs ⇒ Rpcs
Configurations for individual RPCs.
Instance Attribute Details
#channel_args ⇒ ::Hash
Extra parameters passed to the gRPC channel. Note: this is ignored if a
GRPC::Core::Channel
object is provided as the credential.
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#credentials ⇒ ::Object
Credentials to send with calls. You may provide any of the following types:
- (
String
) The path to a service account key file in JSON format - (
Hash
) A service account key as a Hash - (
Google::Auth::Credentials
) A googleauth credentials object (see the googleauth docs) - (
Signet::OAuth2::Client
) A signet oauth2 client object (see the signet docs) - (
GRPC::Core::Channel
) a gRPC channel with included credentials - (
GRPC::Core::ChannelCredentials
) a gRPC credentails object - (
nil
) indicating no credentials
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#endpoint ⇒ ::String
The hostname or hostname:port of the service endpoint.
Defaults to "analyticsadmin.googleapis.com"
.
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#interceptors ⇒ ::Array<::GRPC::ClientInterceptor>
An array of interceptors that are run before calls are executed.
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional gRPC headers to be sent with the call.
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#quota_project ⇒ ::String
A separate project against which to charge quota.
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#retry_policy ⇒ ::Hash
The retry policy. The value is a hash with the following keys:
-
:initial_delay
(type:Numeric
) - The initial delay in seconds. -
:max_delay
(type:Numeric
) - The max delay in seconds. -
:multiplier
(type:Numeric
) - The incremental backoff multiplier. -
:retry_codes
(type:Array<String>
) - The error codes that should trigger a retry.
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#scope ⇒ ::Array<::String>
The OAuth scopes
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
#timeout ⇒ ::Numeric
The call timeout in seconds.
6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6736 class Configuration extend ::Gapic::Config config_attr :endpoint, "analyticsadmin.googleapis.com", ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the AnalyticsAdminService API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `get_account` # @return [::Gapic::Config::Method] # attr_reader :get_account ## # RPC-specific configuration for `list_accounts` # @return [::Gapic::Config::Method] # attr_reader :list_accounts ## # RPC-specific configuration for `delete_account` # @return [::Gapic::Config::Method] # attr_reader :delete_account ## # RPC-specific configuration for `update_account` # @return [::Gapic::Config::Method] # attr_reader :update_account ## # RPC-specific configuration for `provision_account_ticket` # @return [::Gapic::Config::Method] # attr_reader :provision_account_ticket ## # RPC-specific configuration for `list_account_summaries` # @return [::Gapic::Config::Method] # attr_reader :list_account_summaries ## # RPC-specific configuration for `get_property` # @return [::Gapic::Config::Method] # attr_reader :get_property ## # RPC-specific configuration for `list_properties` # @return [::Gapic::Config::Method] # attr_reader :list_properties ## # RPC-specific configuration for `create_property` # @return [::Gapic::Config::Method] # attr_reader :create_property ## # RPC-specific configuration for `delete_property` # @return [::Gapic::Config::Method] # attr_reader :delete_property ## # RPC-specific configuration for `update_property` # @return [::Gapic::Config::Method] # attr_reader :update_property ## # RPC-specific configuration for `get_user_link` # @return [::Gapic::Config::Method] # attr_reader :get_user_link ## # RPC-specific configuration for `batch_get_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_get_user_links ## # RPC-specific configuration for `list_user_links` # @return [::Gapic::Config::Method] # attr_reader :list_user_links ## # RPC-specific configuration for `audit_user_links` # @return [::Gapic::Config::Method] # attr_reader :audit_user_links ## # RPC-specific configuration for `create_user_link` # @return [::Gapic::Config::Method] # attr_reader :create_user_link ## # RPC-specific configuration for `batch_create_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_create_user_links ## # RPC-specific configuration for `update_user_link` # @return [::Gapic::Config::Method] # attr_reader :update_user_link ## # RPC-specific configuration for `batch_update_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_update_user_links ## # RPC-specific configuration for `delete_user_link` # @return [::Gapic::Config::Method] # attr_reader :delete_user_link ## # RPC-specific configuration for `batch_delete_user_links` # @return [::Gapic::Config::Method] # attr_reader :batch_delete_user_links ## # RPC-specific configuration for `create_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :create_firebase_link ## # RPC-specific configuration for `delete_firebase_link` # @return [::Gapic::Config::Method] # attr_reader :delete_firebase_link ## # RPC-specific configuration for `list_firebase_links` # @return [::Gapic::Config::Method] # attr_reader :list_firebase_links ## # RPC-specific configuration for `get_global_site_tag` # @return [::Gapic::Config::Method] # attr_reader :get_global_site_tag ## # RPC-specific configuration for `create_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :create_google_ads_link ## # RPC-specific configuration for `update_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :update_google_ads_link ## # RPC-specific configuration for `delete_google_ads_link` # @return [::Gapic::Config::Method] # attr_reader :delete_google_ads_link ## # RPC-specific configuration for `list_google_ads_links` # @return [::Gapic::Config::Method] # attr_reader :list_google_ads_links ## # RPC-specific configuration for `get_data_sharing_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_sharing_settings ## # RPC-specific configuration for `get_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :get_measurement_protocol_secret ## # RPC-specific configuration for `list_measurement_protocol_secrets` # @return [::Gapic::Config::Method] # attr_reader :list_measurement_protocol_secrets ## # RPC-specific configuration for `create_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :create_measurement_protocol_secret ## # RPC-specific configuration for `delete_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :delete_measurement_protocol_secret ## # RPC-specific configuration for `update_measurement_protocol_secret` # @return [::Gapic::Config::Method] # attr_reader :update_measurement_protocol_secret ## # RPC-specific configuration for `acknowledge_user_data_collection` # @return [::Gapic::Config::Method] # attr_reader :acknowledge_user_data_collection ## # RPC-specific configuration for `search_change_history_events` # @return [::Gapic::Config::Method] # attr_reader :search_change_history_events ## # RPC-specific configuration for `get_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :get_google_signals_settings ## # RPC-specific configuration for `update_google_signals_settings` # @return [::Gapic::Config::Method] # attr_reader :update_google_signals_settings ## # RPC-specific configuration for `create_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :create_conversion_event ## # RPC-specific configuration for `get_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :get_conversion_event ## # RPC-specific configuration for `delete_conversion_event` # @return [::Gapic::Config::Method] # attr_reader :delete_conversion_event ## # RPC-specific configuration for `list_conversion_events` # @return [::Gapic::Config::Method] # attr_reader :list_conversion_events ## # RPC-specific configuration for `get_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link ## # RPC-specific configuration for `list_display_video360_advertiser_links` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_links ## # RPC-specific configuration for `create_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link ## # RPC-specific configuration for `delete_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link ## # RPC-specific configuration for `update_display_video360_advertiser_link` # @return [::Gapic::Config::Method] # attr_reader :update_display_video360_advertiser_link ## # RPC-specific configuration for `get_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :get_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `list_display_video360_advertiser_link_proposals` # @return [::Gapic::Config::Method] # attr_reader :list_display_video360_advertiser_link_proposals ## # RPC-specific configuration for `create_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :create_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `delete_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :delete_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `approve_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :approve_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `cancel_display_video360_advertiser_link_proposal` # @return [::Gapic::Config::Method] # attr_reader :cancel_display_video360_advertiser_link_proposal ## # RPC-specific configuration for `create_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :create_custom_dimension ## # RPC-specific configuration for `update_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :update_custom_dimension ## # RPC-specific configuration for `list_custom_dimensions` # @return [::Gapic::Config::Method] # attr_reader :list_custom_dimensions ## # RPC-specific configuration for `archive_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_dimension ## # RPC-specific configuration for `get_custom_dimension` # @return [::Gapic::Config::Method] # attr_reader :get_custom_dimension ## # RPC-specific configuration for `create_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :create_custom_metric ## # RPC-specific configuration for `update_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :update_custom_metric ## # RPC-specific configuration for `list_custom_metrics` # @return [::Gapic::Config::Method] # attr_reader :list_custom_metrics ## # RPC-specific configuration for `archive_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :archive_custom_metric ## # RPC-specific configuration for `get_custom_metric` # @return [::Gapic::Config::Method] # attr_reader :get_custom_metric ## # RPC-specific configuration for `get_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :get_data_retention_settings ## # RPC-specific configuration for `update_data_retention_settings` # @return [::Gapic::Config::Method] # attr_reader :update_data_retention_settings ## # RPC-specific configuration for `create_data_stream` # @return [::Gapic::Config::Method] # attr_reader :create_data_stream ## # RPC-specific configuration for `delete_data_stream` # @return [::Gapic::Config::Method] # attr_reader :delete_data_stream ## # RPC-specific configuration for `update_data_stream` # @return [::Gapic::Config::Method] # attr_reader :update_data_stream ## # RPC-specific configuration for `list_data_streams` # @return [::Gapic::Config::Method] # attr_reader :list_data_streams ## # RPC-specific configuration for `get_data_stream` # @return [::Gapic::Config::Method] # attr_reader :get_data_stream # @private def initialize parent_rpcs = nil get_account_config = parent_rpcs.get_account if parent_rpcs.respond_to? :get_account @get_account = ::Gapic::Config::Method.new get_account_config list_accounts_config = parent_rpcs.list_accounts if parent_rpcs.respond_to? :list_accounts @list_accounts = ::Gapic::Config::Method.new list_accounts_config delete_account_config = parent_rpcs.delete_account if parent_rpcs.respond_to? :delete_account @delete_account = ::Gapic::Config::Method.new delete_account_config update_account_config = parent_rpcs.update_account if parent_rpcs.respond_to? :update_account @update_account = ::Gapic::Config::Method.new update_account_config provision_account_ticket_config = parent_rpcs.provision_account_ticket if parent_rpcs.respond_to? :provision_account_ticket @provision_account_ticket = ::Gapic::Config::Method.new provision_account_ticket_config list_account_summaries_config = parent_rpcs.list_account_summaries if parent_rpcs.respond_to? :list_account_summaries @list_account_summaries = ::Gapic::Config::Method.new list_account_summaries_config get_property_config = parent_rpcs.get_property if parent_rpcs.respond_to? :get_property @get_property = ::Gapic::Config::Method.new get_property_config list_properties_config = parent_rpcs.list_properties if parent_rpcs.respond_to? :list_properties @list_properties = ::Gapic::Config::Method.new list_properties_config create_property_config = parent_rpcs.create_property if parent_rpcs.respond_to? :create_property @create_property = ::Gapic::Config::Method.new create_property_config delete_property_config = parent_rpcs.delete_property if parent_rpcs.respond_to? :delete_property @delete_property = ::Gapic::Config::Method.new delete_property_config update_property_config = parent_rpcs.update_property if parent_rpcs.respond_to? :update_property @update_property = ::Gapic::Config::Method.new update_property_config get_user_link_config = parent_rpcs.get_user_link if parent_rpcs.respond_to? :get_user_link @get_user_link = ::Gapic::Config::Method.new get_user_link_config batch_get_user_links_config = parent_rpcs.batch_get_user_links if parent_rpcs.respond_to? :batch_get_user_links @batch_get_user_links = ::Gapic::Config::Method.new batch_get_user_links_config list_user_links_config = parent_rpcs.list_user_links if parent_rpcs.respond_to? :list_user_links @list_user_links = ::Gapic::Config::Method.new list_user_links_config audit_user_links_config = parent_rpcs.audit_user_links if parent_rpcs.respond_to? :audit_user_links @audit_user_links = ::Gapic::Config::Method.new audit_user_links_config create_user_link_config = parent_rpcs.create_user_link if parent_rpcs.respond_to? :create_user_link @create_user_link = ::Gapic::Config::Method.new create_user_link_config batch_create_user_links_config = parent_rpcs.batch_create_user_links if parent_rpcs.respond_to? :batch_create_user_links @batch_create_user_links = ::Gapic::Config::Method.new batch_create_user_links_config update_user_link_config = parent_rpcs.update_user_link if parent_rpcs.respond_to? :update_user_link @update_user_link = ::Gapic::Config::Method.new update_user_link_config batch_update_user_links_config = parent_rpcs.batch_update_user_links if parent_rpcs.respond_to? :batch_update_user_links @batch_update_user_links = ::Gapic::Config::Method.new batch_update_user_links_config delete_user_link_config = parent_rpcs.delete_user_link if parent_rpcs.respond_to? :delete_user_link @delete_user_link = ::Gapic::Config::Method.new delete_user_link_config batch_delete_user_links_config = parent_rpcs.batch_delete_user_links if parent_rpcs.respond_to? :batch_delete_user_links @batch_delete_user_links = ::Gapic::Config::Method.new batch_delete_user_links_config create_firebase_link_config = parent_rpcs.create_firebase_link if parent_rpcs.respond_to? :create_firebase_link @create_firebase_link = ::Gapic::Config::Method.new create_firebase_link_config delete_firebase_link_config = parent_rpcs.delete_firebase_link if parent_rpcs.respond_to? :delete_firebase_link @delete_firebase_link = ::Gapic::Config::Method.new delete_firebase_link_config list_firebase_links_config = parent_rpcs.list_firebase_links if parent_rpcs.respond_to? :list_firebase_links @list_firebase_links = ::Gapic::Config::Method.new list_firebase_links_config get_global_site_tag_config = parent_rpcs.get_global_site_tag if parent_rpcs.respond_to? :get_global_site_tag @get_global_site_tag = ::Gapic::Config::Method.new get_global_site_tag_config create_google_ads_link_config = parent_rpcs.create_google_ads_link if parent_rpcs.respond_to? :create_google_ads_link @create_google_ads_link = ::Gapic::Config::Method.new create_google_ads_link_config update_google_ads_link_config = parent_rpcs.update_google_ads_link if parent_rpcs.respond_to? :update_google_ads_link @update_google_ads_link = ::Gapic::Config::Method.new update_google_ads_link_config delete_google_ads_link_config = parent_rpcs.delete_google_ads_link if parent_rpcs.respond_to? :delete_google_ads_link @delete_google_ads_link = ::Gapic::Config::Method.new delete_google_ads_link_config list_google_ads_links_config = parent_rpcs.list_google_ads_links if parent_rpcs.respond_to? :list_google_ads_links @list_google_ads_links = ::Gapic::Config::Method.new list_google_ads_links_config get_data_sharing_settings_config = parent_rpcs.get_data_sharing_settings if parent_rpcs.respond_to? :get_data_sharing_settings @get_data_sharing_settings = ::Gapic::Config::Method.new get_data_sharing_settings_config get_measurement_protocol_secret_config = parent_rpcs.get_measurement_protocol_secret if parent_rpcs.respond_to? :get_measurement_protocol_secret @get_measurement_protocol_secret = ::Gapic::Config::Method.new get_measurement_protocol_secret_config list_measurement_protocol_secrets_config = parent_rpcs.list_measurement_protocol_secrets if parent_rpcs.respond_to? :list_measurement_protocol_secrets @list_measurement_protocol_secrets = ::Gapic::Config::Method.new list_measurement_protocol_secrets_config create_measurement_protocol_secret_config = parent_rpcs.create_measurement_protocol_secret if parent_rpcs.respond_to? :create_measurement_protocol_secret @create_measurement_protocol_secret = ::Gapic::Config::Method.new create_measurement_protocol_secret_config delete_measurement_protocol_secret_config = parent_rpcs.delete_measurement_protocol_secret if parent_rpcs.respond_to? :delete_measurement_protocol_secret @delete_measurement_protocol_secret = ::Gapic::Config::Method.new delete_measurement_protocol_secret_config update_measurement_protocol_secret_config = parent_rpcs.update_measurement_protocol_secret if parent_rpcs.respond_to? :update_measurement_protocol_secret @update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection @acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events @search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings @get_google_signals_settings = ::Gapic::Config::Method.new get_google_signals_settings_config update_google_signals_settings_config = parent_rpcs.update_google_signals_settings if parent_rpcs.respond_to? :update_google_signals_settings @update_google_signals_settings = ::Gapic::Config::Method.new update_google_signals_settings_config create_conversion_event_config = parent_rpcs.create_conversion_event if parent_rpcs.respond_to? :create_conversion_event @create_conversion_event = ::Gapic::Config::Method.new create_conversion_event_config get_conversion_event_config = parent_rpcs.get_conversion_event if parent_rpcs.respond_to? :get_conversion_event @get_conversion_event = ::Gapic::Config::Method.new get_conversion_event_config delete_conversion_event_config = parent_rpcs.delete_conversion_event if parent_rpcs.respond_to? :delete_conversion_event @delete_conversion_event = ::Gapic::Config::Method.new delete_conversion_event_config list_conversion_events_config = parent_rpcs.list_conversion_events if parent_rpcs.respond_to? :list_conversion_events @list_conversion_events = ::Gapic::Config::Method.new list_conversion_events_config get_display_video360_advertiser_link_config = parent_rpcs.get_display_video360_advertiser_link if parent_rpcs.respond_to? :get_display_video360_advertiser_link @get_display_video360_advertiser_link = ::Gapic::Config::Method.new get_display_video360_advertiser_link_config list_display_video360_advertiser_links_config = parent_rpcs.list_display_video360_advertiser_links if parent_rpcs.respond_to? :list_display_video360_advertiser_links @list_display_video360_advertiser_links = ::Gapic::Config::Method.new list_display_video360_advertiser_links_config create_display_video360_advertiser_link_config = parent_rpcs.create_display_video360_advertiser_link if parent_rpcs.respond_to? :create_display_video360_advertiser_link @create_display_video360_advertiser_link = ::Gapic::Config::Method.new create_display_video360_advertiser_link_config delete_display_video360_advertiser_link_config = parent_rpcs.delete_display_video360_advertiser_link if parent_rpcs.respond_to? :delete_display_video360_advertiser_link @delete_display_video360_advertiser_link = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_config update_display_video360_advertiser_link_config = parent_rpcs.update_display_video360_advertiser_link if parent_rpcs.respond_to? :update_display_video360_advertiser_link @update_display_video360_advertiser_link = ::Gapic::Config::Method.new update_display_video360_advertiser_link_config get_display_video360_advertiser_link_proposal_config = parent_rpcs.get_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :get_display_video360_advertiser_link_proposal @get_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new get_display_video360_advertiser_link_proposal_config list_display_video360_advertiser_link_proposals_config = parent_rpcs.list_display_video360_advertiser_link_proposals if parent_rpcs.respond_to? :list_display_video360_advertiser_link_proposals @list_display_video360_advertiser_link_proposals = ::Gapic::Config::Method.new list_display_video360_advertiser_link_proposals_config create_display_video360_advertiser_link_proposal_config = parent_rpcs.create_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :create_display_video360_advertiser_link_proposal @create_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new create_display_video360_advertiser_link_proposal_config delete_display_video360_advertiser_link_proposal_config = parent_rpcs.delete_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :delete_display_video360_advertiser_link_proposal @delete_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new delete_display_video360_advertiser_link_proposal_config approve_display_video360_advertiser_link_proposal_config = parent_rpcs.approve_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :approve_display_video360_advertiser_link_proposal @approve_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new approve_display_video360_advertiser_link_proposal_config cancel_display_video360_advertiser_link_proposal_config = parent_rpcs.cancel_display_video360_advertiser_link_proposal if parent_rpcs.respond_to? :cancel_display_video360_advertiser_link_proposal @cancel_display_video360_advertiser_link_proposal = ::Gapic::Config::Method.new cancel_display_video360_advertiser_link_proposal_config create_custom_dimension_config = parent_rpcs.create_custom_dimension if parent_rpcs.respond_to? :create_custom_dimension @create_custom_dimension = ::Gapic::Config::Method.new create_custom_dimension_config update_custom_dimension_config = parent_rpcs.update_custom_dimension if parent_rpcs.respond_to? :update_custom_dimension @update_custom_dimension = ::Gapic::Config::Method.new update_custom_dimension_config list_custom_dimensions_config = parent_rpcs.list_custom_dimensions if parent_rpcs.respond_to? :list_custom_dimensions @list_custom_dimensions = ::Gapic::Config::Method.new list_custom_dimensions_config archive_custom_dimension_config = parent_rpcs.archive_custom_dimension if parent_rpcs.respond_to? :archive_custom_dimension @archive_custom_dimension = ::Gapic::Config::Method.new archive_custom_dimension_config get_custom_dimension_config = parent_rpcs.get_custom_dimension if parent_rpcs.respond_to? :get_custom_dimension @get_custom_dimension = ::Gapic::Config::Method.new get_custom_dimension_config create_custom_metric_config = parent_rpcs.create_custom_metric if parent_rpcs.respond_to? :create_custom_metric @create_custom_metric = ::Gapic::Config::Method.new create_custom_metric_config update_custom_metric_config = parent_rpcs.update_custom_metric if parent_rpcs.respond_to? :update_custom_metric @update_custom_metric = ::Gapic::Config::Method.new update_custom_metric_config list_custom_metrics_config = parent_rpcs.list_custom_metrics if parent_rpcs.respond_to? :list_custom_metrics @list_custom_metrics = ::Gapic::Config::Method.new list_custom_metrics_config archive_custom_metric_config = parent_rpcs.archive_custom_metric if parent_rpcs.respond_to? :archive_custom_metric @archive_custom_metric = ::Gapic::Config::Method.new archive_custom_metric_config get_custom_metric_config = parent_rpcs.get_custom_metric if parent_rpcs.respond_to? :get_custom_metric @get_custom_metric = ::Gapic::Config::Method.new get_custom_metric_config get_data_retention_settings_config = parent_rpcs.get_data_retention_settings if parent_rpcs.respond_to? :get_data_retention_settings @get_data_retention_settings = ::Gapic::Config::Method.new get_data_retention_settings_config update_data_retention_settings_config = parent_rpcs.update_data_retention_settings if parent_rpcs.respond_to? :update_data_retention_settings @update_data_retention_settings = ::Gapic::Config::Method.new update_data_retention_settings_config create_data_stream_config = parent_rpcs.create_data_stream if parent_rpcs.respond_to? :create_data_stream @create_data_stream = ::Gapic::Config::Method.new create_data_stream_config delete_data_stream_config = parent_rpcs.delete_data_stream if parent_rpcs.respond_to? :delete_data_stream @delete_data_stream = ::Gapic::Config::Method.new delete_data_stream_config update_data_stream_config = parent_rpcs.update_data_stream if parent_rpcs.respond_to? :update_data_stream @update_data_stream = ::Gapic::Config::Method.new update_data_stream_config list_data_streams_config = parent_rpcs.list_data_streams if parent_rpcs.respond_to? :list_data_streams @list_data_streams = ::Gapic::Config::Method.new list_data_streams_config get_data_stream_config = parent_rpcs.get_data_stream if parent_rpcs.respond_to? :get_data_stream @get_data_stream = ::Gapic::Config::Method.new get_data_stream_config yield self if block_given? end end end |
Instance Method Details
#rpcs ⇒ Rpcs
Configurations for individual RPCs
6766 6767 6768 6769 6770 6771 6772 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb', line 6766 def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end |