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.



12534
12535
12536
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12534

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

Instance Attribute Details

#etagString

Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


12521
12522
12523
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12521

def etag
  @etag
end

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

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



12526
12527
12528
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12526

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)


12532
12533
12534
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12532

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12539
12540
12541
12542
12543
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12539

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