class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret

A secret value used for sending hits to Measurement Protocol.

Attributes

display_name[RW]

Required. Human-readable display name for this secret. Corresponds to the JSON property `displayName` @return [String]

name[RW]

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` Corresponds to the JSON property `name` @return [String]

secret_value[RW]

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. Corresponds to the JSON property `secretValue` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 1894
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 1899
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @secret_value = args[:secret_value] if args.key?(:secret_value)
end