class Google::Apis::AnalyticsV3::EntityUserLink::Entity

Entity for this link. It can be an account, a web property, or a view (profile) .

Attributes

account_ref[RW]

JSON template for a linked account. Corresponds to the JSON property `accountRef` @return [Google::Apis::AnalyticsV3::AccountRef]

profile_ref[RW]

JSON template for a linked view (profile). Corresponds to the JSON property `profileRef` @return [Google::Apis::AnalyticsV3::ProfileRef]

web_property_ref[RW]

JSON template for a web property reference. Corresponds to the JSON property `webPropertyRef` @return [Google::Apis::AnalyticsV3::WebPropertyRef]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 1451
def update!(**args)
  @account_ref = args[:account_ref] if args.key?(:account_ref)
  @profile_ref = args[:profile_ref] if args.key?(:profile_ref)
  @web_property_ref = args[:web_property_ref] if args.key?(:web_property_ref)
end