Class: Google::Apis::DfareportingV2_8::UserProfileList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/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



11667
11668
11669
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11667

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)


11655
11656
11657
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11655

def etag
  @etag
end

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

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



11660
11661
11662
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11660

def items
  @items
end

#kindString

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

Returns:

  • (String)


11665
11666
11667
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11665

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11672
11673
11674
11675
11676
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11672

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