Class: Google::Apis::DfareportingV2_5::UserProfileList

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

Overview

Represents the list of user profiles.

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

Returns a new instance of UserProfileList.


10981
10982
10983
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10981

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

Instance Attribute Details

#etagString

The eTag of this response for caching purposes. Corresponds to the JSON property etag

Returns:

  • (String)

10969
10970
10971
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10969

def etag
  @etag
end

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

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


10974
10975
10976
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10974

def items
  @items
end

#kindString

The kind of list this is, in this case dfareporting#userProfileList. Corresponds to the JSON property kind

Returns:

  • (String)

10979
10980
10981
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10979

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


10986
10987
10988
10989
10990
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10986

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