Class MeasurementProtocolSecret
A secret value used for sending hits to Measurement Protocol.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class MeasurementProtocolSecret : IMessage<MeasurementProtocolSecret>, IEquatable<MeasurementProtocolSecret>, IDeepCloneable<MeasurementProtocolSecret>, IBufferMessage, IMessage
Constructors
MeasurementProtocolSecret()
Declaration
public MeasurementProtocolSecret()
MeasurementProtocolSecret(MeasurementProtocolSecret)
Declaration
public MeasurementProtocolSecret(MeasurementProtocolSecret other)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecret | other |
Properties
DisplayName
Required. Human-readable display name for this secret.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
MeasurementProtocolSecretName
MeasurementProtocolSecretName-typed view over the Name resource name property.
Declaration
public MeasurementProtocolSecretName MeasurementProtocolSecretName { get; set; }
Property Value
Type | Description |
---|---|
MeasurementProtocolSecretName |
Name
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}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SecretValue
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.
Declaration
public string SecretValue { get; set; }
Property Value
Type | Description |
---|---|
string |