Google Analytics Admin V1alpha API - Class Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret (v0.11.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.

A secret value used for sending hits to Measurement Protocol.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. Human-readable display name for this secret.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. Human-readable display name for this secret.
Returns
  • (::String) — Required. Human-readable display name for this secret.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}

#secret_value

def secret_value() -> ::String
Returns
  • (::String) — Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.