Class: Google::Apis::DfareportingV3_3::UserRolePermissionGroup

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

Overview

Represents a grouping of related user role permissions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserRolePermissionGroup

Returns a new instance of UserRolePermissionGroup.



11903
11904
11905
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11903

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

Instance Attribute Details

#idFixnum

ID of this user role permission. Corresponds to the JSON property id

Returns:

  • (Fixnum)


11890
11891
11892
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11890

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#userRolePermissionGroup". Corresponds to the JSON property kind

Returns:

  • (String)


11896
11897
11898
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11896

def kind
  @kind
end

#nameString

Name of this user role permission group. Corresponds to the JSON property name

Returns:

  • (String)


11901
11902
11903
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11901

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11908
11909
11910
11911
11912
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 11908

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