Class: Google::Apis::AnalyticsV3::Webproperty::Permissions

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

Overview

Permissions the user has for this web property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Permissions

Returns a new instance of Permissions.



5788
5789
5790
# File 'lib/google/apis/analytics_v3/classes.rb', line 5788

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

Instance Attribute Details

#effectiveArray<String>

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

Returns:

  • (Array<String>)


5786
5787
5788
# File 'lib/google/apis/analytics_v3/classes.rb', line 5786

def effective
  @effective
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5793
5794
5795
# File 'lib/google/apis/analytics_v3/classes.rb', line 5793

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