module Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Paths

Path helper methods for the AnalyticsAdminService API.

Public Instance Methods

account_path(account: "accounts/ click to toggle source

Create a fully-qualified Account resource string.

The resource will be in the following format:

`accounts/{account}`

@param account [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 37
def account_path account:
  "accounts/#{account}"
end
android_app_data_stream_path(property:, android_app_data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/") click to toggle source

Create a fully-qualified AndroidAppDataStream resource string.

The resource will be in the following format:

`properties/{property}/androidAppDataStreams/{android_app_data_stream}`

@param property [String] @param android_app_data_stream [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 52
def android_app_data_stream_path property:, android_app_data_stream:
  raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"

  "properties/#{property}/androidAppDataStreams/#{android_app_data_stream}"
end
conversion_event_path(property:, conversion_event: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/") click to toggle source

Create a fully-qualified ConversionEvent resource string.

The resource will be in the following format:

`properties/{property}/conversionEvents/{conversion_event}`

@param property [String] @param conversion_event [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 69
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: "properties/ click to toggle source

Create a fully-qualified CustomDimension resource string.

The resource will be in the following format:

`properties/{property}/customDimensions`

@param property [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 85
def custom_dimension_path property:
  "properties/#{property}/customDimensions"
end
custom_metric_path(property: "properties/ click to toggle source

Create a fully-qualified CustomMetric resource string.

The resource will be in the following format:

`properties/{property}/customMetrics`

@param property [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 99
def custom_metric_path property:
  "properties/#{property}/customMetrics"
end
data_retention_settings_path(property: "properties/ click to toggle source

Create a fully-qualified DataRetentionSettings resource string.

The resource will be in the following format:

`properties/{property}/dataRetentionSettings`

@param property [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 113
def data_retention_settings_path property:
  "properties/#{property}/dataRetentionSettings"
end
data_sharing_settings_path(account: "accounts/ click to toggle source

Create a fully-qualified DataSharingSettings resource string.

The resource will be in the following format:

`accounts/{account}/dataSharingSettings`

@param account [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 127
def data_sharing_settings_path account:
  "accounts/#{account}/dataSharingSettings"
end
enhanced_measurement_settings_path(property:, web_data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/") click to toggle source

Create a fully-qualified EnhancedMeasurementSettings resource string.

The resource will be in the following format:

`properties/{property}/webDataStreams/{web_data_stream}/enhancedMeasurementSettings`

@param property [String] @param web_data_stream [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 176
def enhanced_measurement_settings_path property:, web_data_stream:
  raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"

  "properties/#{property}/webDataStreams/#{web_data_stream}/enhancedMeasurementSettings"
end
global_site_tag_path(property: "properties/ click to toggle source

Create a fully-qualified GlobalSiteTag resource string.

The resource will be in the following format:

`properties/{property}/globalSiteTag`

@param property [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 209
def global_site_tag_path property:
  "properties/#{property}/globalSiteTag"
end
google_signals_settings_path(property: "properties/ click to toggle source

Create a fully-qualified GoogleSignalsSettings resource string.

The resource will be in the following format:

`properties/{property}/googleSignalsSettings`

@param property [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 240
def google_signals_settings_path property:
  "properties/#{property}/googleSignalsSettings"
end
ios_app_data_stream_path(property:, ios_app_data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/") click to toggle source

Create a fully-qualified IosAppDataStream resource string.

The resource will be in the following format:

`properties/{property}/iosAppDataStreams/{ios_app_data_stream}`

@param property [String] @param ios_app_data_stream [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 255
def ios_app_data_stream_path property:, ios_app_data_stream:
  raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"

  "properties/#{property}/iosAppDataStreams/#{ios_app_data_stream}"
end
measurement_protocol_secret_path(property:, web_data_stream:, measurement_protocol_secret: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/") click to toggle source

Create a fully-qualified MeasurementProtocolSecret resource string.

The resource will be in the following format:

`properties/{property}/webDataStreams/{web_data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}`

@param property [String] @param web_data_stream [String] @param measurement_protocol_secret [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 273
def measurement_protocol_secret_path property:, web_data_stream:, measurement_protocol_secret:
  raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
  raise ::ArgumentError, "web_data_stream cannot contain /" if web_data_stream.to_s.include? "/"

  "properties/#{property}/webDataStreams/#{web_data_stream}/measurementProtocolSecrets/#{measurement_protocol_secret}"
end
property_path(property: "properties/ click to toggle source

Create a fully-qualified Property resource string.

The resource will be in the following format:

`properties/{property}`

@param property [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 290
def property_path property:
  "properties/#{property}"
end
web_data_stream_path(property:, web_data_stream: raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/") click to toggle source

Create a fully-qualified WebDataStream resource string.

The resource will be in the following format:

`properties/{property}/webDataStreams/{web_data_stream}`

@param property [String] @param web_data_stream [String]

@return [::String]

# File lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb, line 344
def web_data_stream_path property:, web_data_stream:
  raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"

  "properties/#{property}/webDataStreams/#{web_data_stream}"
end