Class: Google::Apis::DfareportingV2_1::ListUserRolesResponse

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

Overview

User Role List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListUserRolesResponse

Returns a new instance of ListUserRolesResponse



10757
10758
10759
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10757

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


10745
10746
10747
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10745

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


10750
10751
10752
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10750

def next_page_token
  @next_page_token
end

#user_rolesArray<Google::Apis::DfareportingV2_1::UserRole>

User role collection. Corresponds to the JSON property userRoles



10755
10756
10757
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10755

def user_roles
  @user_roles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10762
10763
10764
10765
10766
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10762

def update!(**args)
  @kind = args[:kind] unless args[:kind].nil?
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
  @user_roles = args[:user_roles] unless args[:user_roles].nil?
end