Class: Google::Apis::AnalyticsV3::Profile::Permissions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb

Overview

Permissions the user has for this view (profile).

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Permissions

Returns a new instance of Permissions.



3887
3888
3889
# File 'generated/google/apis/analytics_v3/classes.rb', line 3887

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#effectiveArray<String>

All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property. Corresponds to the JSON property effective

Returns:

  • (Array<String>)


3885
3886
3887
# File 'generated/google/apis/analytics_v3/classes.rb', line 3885

def effective
  @effective
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3892
3893
3894
# File 'generated/google/apis/analytics_v3/classes.rb', line 3892

def update!(**args)
  @effective = args[:effective] if args.key?(:effective)
end