Module: Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Paths
- Extended by:
- Paths
- Included in:
- Client, Paths, Rest::Client
- Defined in:
- lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb
Overview
Path helper methods for the AnalyticsAdminService API.
Instance Method Summary collapse
-
#access_binding_path(**args) ⇒ ::String
Create a fully-qualified AccessBinding resource string.
-
#account_path(account:) ⇒ ::String
Create a fully-qualified Account resource string.
-
#ad_sense_link_path(property:, adsense_link:) ⇒ ::String
Create a fully-qualified AdSenseLink resource string.
-
#attribution_settings_path(property:) ⇒ ::String
Create a fully-qualified AttributionSettings resource string.
-
#audience_path(property:, audience:) ⇒ ::String
Create a fully-qualified Audience resource string.
-
#big_query_link_path(property:, bigquery_link:) ⇒ ::String
Create a fully-qualified BigQueryLink resource string.
-
#calculated_metric_path(property:, calculated_metric:) ⇒ ::String
Create a fully-qualified CalculatedMetric resource string.
-
#channel_group_path(property:, channel_group:) ⇒ ::String
Create a fully-qualified ChannelGroup resource string.
-
#conversion_event_path(property:, conversion_event:) ⇒ ::String
Create a fully-qualified ConversionEvent resource string.
-
#custom_dimension_path(property:, custom_dimension:) ⇒ ::String
Create a fully-qualified CustomDimension resource string.
-
#custom_metric_path(property:, custom_metric:) ⇒ ::String
Create a fully-qualified CustomMetric resource string.
-
#data_redaction_settings_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified DataRedactionSettings resource string.
-
#data_retention_settings_path(property:) ⇒ ::String
Create a fully-qualified DataRetentionSettings resource string.
-
#data_sharing_settings_path(account:) ⇒ ::String
Create a fully-qualified DataSharingSettings resource string.
-
#data_stream_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified DataStream resource string.
-
#display_video360_advertiser_link_path(property:, display_video_360_advertiser_link:) ⇒ ::String
Create a fully-qualified DisplayVideo360AdvertiserLink resource string.
-
#display_video360_advertiser_link_proposal_path(property:, display_video_360_advertiser_link_proposal:) ⇒ ::String
Create a fully-qualified DisplayVideo360AdvertiserLinkProposal resource string.
-
#enhanced_measurement_settings_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified EnhancedMeasurementSettings resource string.
-
#event_create_rule_path(property:, data_stream:, event_create_rule:) ⇒ ::String
Create a fully-qualified EventCreateRule resource string.
-
#event_edit_rule_path(property:, data_stream:, event_edit_rule:) ⇒ ::String
Create a fully-qualified EventEditRule resource string.
-
#expanded_data_set_path(property:, expanded_data_set:) ⇒ ::String
Create a fully-qualified ExpandedDataSet resource string.
-
#firebase_link_path(property:, firebase_link:) ⇒ ::String
Create a fully-qualified FirebaseLink resource string.
-
#global_site_tag_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified GlobalSiteTag resource string.
-
#google_ads_link_path(property:, google_ads_link:) ⇒ ::String
Create a fully-qualified GoogleAdsLink resource string.
-
#google_signals_settings_path(property:) ⇒ ::String
Create a fully-qualified GoogleSignalsSettings resource string.
-
#key_event_path(property:, key_event:) ⇒ ::String
Create a fully-qualified KeyEvent resource string.
-
#measurement_protocol_secret_path(property:, data_stream:, measurement_protocol_secret:) ⇒ ::String
Create a fully-qualified MeasurementProtocolSecret resource string.
-
#organization_path(organization:) ⇒ ::String
Create a fully-qualified Organization resource string.
-
#property_path(property:) ⇒ ::String
Create a fully-qualified Property resource string.
-
#rollup_property_source_link_path(property:, rollup_property_source_link:) ⇒ ::String
Create a fully-qualified RollupPropertySourceLink resource string.
-
#search_ads360_link_path(property:, search_ads_360_link:) ⇒ ::String
Create a fully-qualified SearchAds360Link resource string.
-
#sk_ad_network_conversion_value_schema_path(property:, data_stream:, skadnetwork_conversion_value_schema:) ⇒ ::String
Create a fully-qualified SKAdNetworkConversionValueSchema resource string.
-
#subproperty_event_filter_path(property:, sub_property_event_filter:) ⇒ ::String
Create a fully-qualified SubpropertyEventFilter resource string.
Instance Method Details
#access_binding_path(account: , access_binding: ) ⇒ ::String #access_binding_path(property: , access_binding: ) ⇒ ::String
Create a fully-qualified AccessBinding resource string.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 47 def access_binding_path **args resources = { "access_binding:account" => (proc do |account:, access_binding:| raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/" "accounts/#{account}/accessBindings/#{access_binding}" end), "access_binding:property" => (proc do |property:, access_binding:| raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/accessBindings/#{access_binding}" end) } resource = resources[args.keys.sort.join(":")] raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil? resource.call(**args) end |
#account_path(account:) ⇒ ::String
Create a fully-qualified Account resource string.
The resource will be in the following format:
accounts/{account}
76 77 78 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 76 def account_path account: "accounts/#{account}" end |
#ad_sense_link_path(property:, adsense_link:) ⇒ ::String
Create a fully-qualified AdSenseLink resource string.
The resource will be in the following format:
properties/{property}/adSenseLinks/{adsense_link}
91 92 93 94 95 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 91 def ad_sense_link_path property:, adsense_link: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/adSenseLinks/#{adsense_link}" end |
#attribution_settings_path(property:) ⇒ ::String
Create a fully-qualified AttributionSettings resource string.
The resource will be in the following format:
properties/{property}/attributionSettings
107 108 109 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 107 def attribution_settings_path property: "properties/#{property}/attributionSettings" end |
#audience_path(property:, audience:) ⇒ ::String
Create a fully-qualified Audience resource string.
The resource will be in the following format:
properties/{property}/audiences/{audience}
122 123 124 125 126 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 122 def audience_path property:, audience: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/audiences/#{audience}" end |
#big_query_link_path(property:, bigquery_link:) ⇒ ::String
Create a fully-qualified BigQueryLink resource string.
The resource will be in the following format:
properties/{property}/bigQueryLinks/{bigquery_link}
139 140 141 142 143 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 139 def big_query_link_path property:, bigquery_link: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/bigQueryLinks/#{bigquery_link}" end |
#calculated_metric_path(property:, calculated_metric:) ⇒ ::String
Create a fully-qualified CalculatedMetric resource string.
The resource will be in the following format:
properties/{property}/calculatedMetrics/{calculated_metric}
156 157 158 159 160 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 156 def calculated_metric_path property:, calculated_metric: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/calculatedMetrics/#{calculated_metric}" end |
#channel_group_path(property:, channel_group:) ⇒ ::String
Create a fully-qualified ChannelGroup resource string.
The resource will be in the following format:
properties/{property}/channelGroups/{channel_group}
173 174 175 176 177 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 173 def channel_group_path property:, channel_group: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/channelGroups/#{channel_group}" end |
#conversion_event_path(property:, conversion_event:) ⇒ ::String
Create a fully-qualified ConversionEvent resource string.
The resource will be in the following format:
properties/{property}/conversionEvents/{conversion_event}
190 191 192 193 194 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 190 def conversion_event_path property:, conversion_event: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/conversionEvents/#{conversion_event}" end |
#custom_dimension_path(property:, custom_dimension:) ⇒ ::String
Create a fully-qualified CustomDimension resource string.
The resource will be in the following format:
properties/{property}/customDimensions/{custom_dimension}
207 208 209 210 211 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 207 def custom_dimension_path property:, custom_dimension: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/customDimensions/#{custom_dimension}" end |
#custom_metric_path(property:, custom_metric:) ⇒ ::String
Create a fully-qualified CustomMetric resource string.
The resource will be in the following format:
properties/{property}/customMetrics/{custom_metric}
224 225 226 227 228 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 224 def custom_metric_path property:, custom_metric: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/customMetrics/#{custom_metric}" end |
#data_redaction_settings_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified DataRedactionSettings resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}/dataRedactionSettings
241 242 243 244 245 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 241 def data_redaction_settings_path property:, data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}/dataRedactionSettings" end |
#data_retention_settings_path(property:) ⇒ ::String
Create a fully-qualified DataRetentionSettings resource string.
The resource will be in the following format:
properties/{property}/dataRetentionSettings
257 258 259 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 257 def data_retention_settings_path property: "properties/#{property}/dataRetentionSettings" end |
#data_sharing_settings_path(account:) ⇒ ::String
Create a fully-qualified DataSharingSettings resource string.
The resource will be in the following format:
accounts/{account}/dataSharingSettings
271 272 273 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 271 def data_sharing_settings_path account: "accounts/#{account}/dataSharingSettings" end |
#data_stream_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified DataStream resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}
286 287 288 289 290 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 286 def data_stream_path property:, data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}" end |
#display_video360_advertiser_link_path(property:, display_video_360_advertiser_link:) ⇒ ::String
Create a fully-qualified DisplayVideo360AdvertiserLink resource string.
The resource will be in the following format:
properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}
303 304 305 306 307 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 303 def display_video360_advertiser_link_path property:, display_video_360_advertiser_link: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/displayVideo360AdvertiserLinks/#{display_video_360_advertiser_link}" end |
#display_video360_advertiser_link_proposal_path(property:, display_video_360_advertiser_link_proposal:) ⇒ ::String
Create a fully-qualified DisplayVideo360AdvertiserLinkProposal resource string.
The resource will be in the following format:
properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}
320 321 322 323 324 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 320 def display_video360_advertiser_link_proposal_path property:, display_video_360_advertiser_link_proposal: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/displayVideo360AdvertiserLinkProposals/#{display_video_360_advertiser_link_proposal}" end |
#enhanced_measurement_settings_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified EnhancedMeasurementSettings resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings
337 338 339 340 341 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 337 def enhanced_measurement_settings_path property:, data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}/enhancedMeasurementSettings" end |
#event_create_rule_path(property:, data_stream:, event_create_rule:) ⇒ ::String
Create a fully-qualified EventCreateRule resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}
355 356 357 358 359 360 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 355 def event_create_rule_path property:, data_stream:, event_create_rule: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}/eventCreateRules/#{event_create_rule}" end |
#event_edit_rule_path(property:, data_stream:, event_edit_rule:) ⇒ ::String
Create a fully-qualified EventEditRule resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}
374 375 376 377 378 379 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 374 def event_edit_rule_path property:, data_stream:, event_edit_rule: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}/eventEditRules/#{event_edit_rule}" end |
#expanded_data_set_path(property:, expanded_data_set:) ⇒ ::String
Create a fully-qualified ExpandedDataSet resource string.
The resource will be in the following format:
properties/{property}/expandedDataSets/{expanded_data_set}
392 393 394 395 396 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 392 def property:, expanded_data_set: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/expandedDataSets/#{}" end |
#firebase_link_path(property:, firebase_link:) ⇒ ::String
Create a fully-qualified FirebaseLink resource string.
The resource will be in the following format:
properties/{property}/firebaseLinks/{firebase_link}
409 410 411 412 413 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 409 def firebase_link_path property:, firebase_link: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/firebaseLinks/#{firebase_link}" end |
#global_site_tag_path(property:, data_stream:) ⇒ ::String
Create a fully-qualified GlobalSiteTag resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}/globalSiteTag
426 427 428 429 430 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 426 def global_site_tag_path property:, data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}/globalSiteTag" end |
#google_ads_link_path(property:, google_ads_link:) ⇒ ::String
Create a fully-qualified GoogleAdsLink resource string.
The resource will be in the following format:
properties/{property}/googleAdsLinks/{google_ads_link}
443 444 445 446 447 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 443 def google_ads_link_path property:, google_ads_link: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/googleAdsLinks/#{google_ads_link}" end |
#google_signals_settings_path(property:) ⇒ ::String
Create a fully-qualified GoogleSignalsSettings resource string.
The resource will be in the following format:
properties/{property}/googleSignalsSettings
459 460 461 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 459 def google_signals_settings_path property: "properties/#{property}/googleSignalsSettings" end |
#key_event_path(property:, key_event:) ⇒ ::String
Create a fully-qualified KeyEvent resource string.
The resource will be in the following format:
properties/{property}/keyEvents/{key_event}
474 475 476 477 478 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 474 def key_event_path property:, key_event: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/keyEvents/#{key_event}" end |
#measurement_protocol_secret_path(property:, data_stream:, measurement_protocol_secret:) ⇒ ::String
Create a fully-qualified MeasurementProtocolSecret resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}
492 493 494 495 496 497 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 492 def measurement_protocol_secret_path property:, data_stream:, measurement_protocol_secret: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}/measurementProtocolSecrets/#{measurement_protocol_secret}" end |
#organization_path(organization:) ⇒ ::String
Create a fully-qualified Organization resource string.
The resource will be in the following format:
organizations/{organization}
509 510 511 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 509 def organization_path organization: "organizations/#{organization}" end |
#property_path(property:) ⇒ ::String
Create a fully-qualified Property resource string.
The resource will be in the following format:
properties/{property}
523 524 525 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 523 def property_path property: "properties/#{property}" end |
#rollup_property_source_link_path(property:, rollup_property_source_link:) ⇒ ::String
Create a fully-qualified RollupPropertySourceLink resource string.
The resource will be in the following format:
properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}
538 539 540 541 542 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 538 def rollup_property_source_link_path property:, rollup_property_source_link: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/rollupPropertySourceLinks/#{rollup_property_source_link}" end |
#search_ads360_link_path(property:, search_ads_360_link:) ⇒ ::String
Create a fully-qualified SearchAds360Link resource string.
The resource will be in the following format:
properties/{property}/searchAds360Links/{search_ads_360_link}
574 575 576 577 578 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 574 def search_ads360_link_path property:, search_ads_360_link: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/searchAds360Links/#{search_ads_360_link}" end |
#sk_ad_network_conversion_value_schema_path(property:, data_stream:, skadnetwork_conversion_value_schema:) ⇒ ::String
Create a fully-qualified SKAdNetworkConversionValueSchema resource string.
The resource will be in the following format:
properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
556 557 558 559 560 561 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 556 def sk_ad_network_conversion_value_schema_path property:, data_stream:, skadnetwork_conversion_value_schema: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/" "properties/#{property}/dataStreams/#{data_stream}/sKAdNetworkConversionValueSchema/#{skadnetwork_conversion_value_schema}" end |
#subproperty_event_filter_path(property:, sub_property_event_filter:) ⇒ ::String
Create a fully-qualified SubpropertyEventFilter resource string.
The resource will be in the following format:
properties/{property}/subpropertyEventFilters/{sub_property_event_filter}
591 592 593 594 595 |
# File 'lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb', line 591 def subproperty_event_filter_path property:, sub_property_event_filter: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/" "properties/#{property}/subpropertyEventFilters/#{sub_property_event_filter}" end |