Class: Google::Apis::DfareportingV4::UserProfileList

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

Overview

Represents the list of user profiles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserProfileList

Returns a new instance of UserProfileList.



14350
14351
14352
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14350

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

Instance Attribute Details

#etagString

Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


14337
14338
14339
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14337

def etag
  @etag
end

#itemsArray<Google::Apis::DfareportingV4::UserProfile>

The user profiles returned in this response. Corresponds to the JSON property items



14342
14343
14344
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14342

def items
  @items
end

#kindString

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

Returns:

  • (String)


14348
14349
14350
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14348

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14355
14356
14357
14358
14359
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 14355

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