Class: Google::Apis::DfareportingV2_6::ListUserRolePermissionsResponse

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

Overview

User Role Permission List Response

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) ⇒ ListUserRolePermissionsResponse

Returns a new instance of ListUserRolePermissionsResponse.



11541
11542
11543
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11541

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


11534
11535
11536
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11534

def kind
  @kind
end

#user_role_permissionsArray<Google::Apis::DfareportingV2_6::UserRolePermission>

User role permission collection. Corresponds to the JSON property userRolePermissions



11539
11540
11541
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11539

def user_role_permissions
  @user_role_permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11546
11547
11548
11549
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 11546

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