Google Analytics Admin V1alpha API - Module Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Paths (v0.11.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha API module Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Paths.

Path helper methods for the AnalyticsAdminService API.

Methods

#account_path

def account_path(account:) -> ::String

Create a fully-qualified Account resource string.

The resource will be in the following format:

accounts/{account}

Parameter
  • account (String)
Returns
  • (::String)

#conversion_event_path

def 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}

Parameters
  • property (String)
  • conversion_event (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#custom_dimension_path

def custom_dimension_path(property:) -> ::String

Create a fully-qualified CustomDimension resource string.

The resource will be in the following format:

properties/{property}/customDimensions

Parameter
  • property (String)
Returns
  • (::String)

#custom_metric_path

def custom_metric_path(property:) -> ::String

Create a fully-qualified CustomMetric resource string.

The resource will be in the following format:

properties/{property}/customMetrics

Parameter
  • property (String)
Returns
  • (::String)

#data_retention_settings_path

def data_retention_settings_path(property:) -> ::String

Create a fully-qualified DataRetentionSettings resource string.

The resource will be in the following format:

properties/{property}/dataRetentionSettings

Parameter
  • property (String)
Returns
  • (::String)

#data_sharing_settings_path

def data_sharing_settings_path(account:) -> ::String

Create a fully-qualified DataSharingSettings resource string.

The resource will be in the following format:

accounts/{account}/dataSharingSettings

Parameter
  • account (String)
Returns
  • (::String)

#data_stream_path

def 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}

Parameters
  • property (String)
  • data_stream (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)
def 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}

Parameters
  • property (String)
  • display_video_360_advertiser_link (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)
def 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}

Parameters
  • property (String)
  • display_video_360_advertiser_link_proposal (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)
def 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}

Parameters
  • property (String)
  • firebase_link (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#global_site_tag_path

def 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

Parameters
  • property (String)
  • data_stream (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)
def 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}

Parameters
  • property (String)
  • google_ads_link (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#google_signals_settings_path

def google_signals_settings_path(property:) -> ::String

Create a fully-qualified GoogleSignalsSettings resource string.

The resource will be in the following format:

properties/{property}/googleSignalsSettings

Parameter
  • property (String)
Returns
  • (::String)

#measurement_protocol_secret_path

def 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}

Parameters
  • property (String)
  • data_stream (String)
  • measurement_protocol_secret (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#property_path

def property_path(property:) -> ::String

Create a fully-qualified Property resource string.

The resource will be in the following format:

properties/{property}

Parameter
  • property (String)
Returns
  • (::String)
def user_link_path(account:, user_link:) -> ::String
def user_link_path(property:, user_link:) -> ::String

Create a fully-qualified UserLink resource string.

Overloads
def user_link_path(account:, user_link:) -> ::String
The resource will be in the following format:

accounts/{account}/userLinks/{user_link}

Parameters
  • account (String)
  • user_link (String)
def user_link_path(property:, user_link:) -> ::String
The resource will be in the following format:

properties/{property}/userLinks/{user_link}

Parameters
  • property (String)
  • user_link (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)