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

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

#display_name=

defdisplay_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

defname()->::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

defsecret_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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.