Class: Google::Apis::DfareportingV3_4::UserRolePermission

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

Overview

Contains properties of a user role permission.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserRolePermission

Returns a new instance of UserRolePermission.



12816
12817
12818
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12816

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

Instance Attribute Details

#availabilityString

Levels of availability for a user role permission. Corresponds to the JSON property availability

Returns:

  • (String)


12793
12794
12795
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12793

def availability
  @availability
end

#idFixnum

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

Returns:

  • (Fixnum)


12798
12799
12800
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12798

def id
  @id
end

#kindString

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

Returns:

  • (String)


12804
12805
12806
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12804

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


12809
12810
12811
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12809

def name
  @name
end

#permission_group_idFixnum

ID of the permission group that this user role permission belongs to. Corresponds to the JSON property permissionGroupId

Returns:

  • (Fixnum)


12814
12815
12816
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12814

def permission_group_id
  @permission_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12821
12822
12823
12824
12825
12826
12827
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12821

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