class Google::Apis::PartnersV2::TrafficSource
Source of traffic for the current request.
Attributes
traffic_source_id[RW]
Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us. Corresponds to the JSON property `trafficSourceId` @return [String]
traffic_sub_id[RW]
Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us. Corresponds to the JSON property `trafficSubId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/partners_v2/classes.rb, line 168 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/partners_v2/classes.rb, line 173 def update!(**args) @traffic_source_id = args[:traffic_source_id] if args.key?(:traffic_source_id) @traffic_sub_id = args[:traffic_sub_id] if args.key?(:traffic_sub_id) end