Reference documentation and code samples for the Google Analytics Admin V1beta Client class MeasurementProtocolSecret.
A secret value used for sending hits to Measurement Protocol.
Generated from protobuf message google.analytics.admin.v1beta.MeasurementProtocolSecret
Namespace
Google \ Analytics \ Admin \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
↳ display_name
string
Required. Human-readable display name for this secret.
↳ secret_value
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.
getName
Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
string
setName
Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
var
string
$this
getDisplayName
Required. Human-readable display name for this secret.
string
setDisplayName
Required. Human-readable display name for this secret.
var
string
$this
getSecretValue
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.
string
setSecretValue
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.
var
string
$this