class Google::Apis::AnalyticsV3::EntityUserLink

JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.

Attributes

entity[RW]

Entity for this link. It can be an account, a web property, or a view (profile) . Corresponds to the JSON property `entity` @return [Google::Apis::AnalyticsV3::EntityUserLink::Entity]

id[RW]

Entity user link ID Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource type for entity user link. Corresponds to the JSON property `kind` @return [String]

permissions[RW]

Permissions the user has for this entity. Corresponds to the JSON property `permissions` @return [Google::Apis::AnalyticsV3::EntityUserLink::Permissions]

user_ref[RW]

JSON template for a user reference. Corresponds to the JSON property `userRef` @return [Google::Apis::AnalyticsV3::UserRef]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 1412
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 1417
def update!(**args)
  @entity = args[:entity] if args.key?(:entity)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @permissions = args[:permissions] if args.key?(:permissions)
  @self_link = args[:self_link] if args.key?(:self_link)
  @user_ref = args[:user_ref] if args.key?(:user_ref)
end