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.



12917
12918
12919
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12917

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

Instance Attribute Details

#etagString

Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


12904
12905
12906
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12904

def etag
  @etag
end

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

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



12909
12910
12911
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12909

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)


12915
12916
12917
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12915

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12922
12923
12924
12925
12926
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12922

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