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.



12929
12930
12931
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12929

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

Instance Attribute Details

#etagString

Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


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

def etag
  @etag
end

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

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



12921
12922
12923
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12921

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)


12927
12928
12929
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12927

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12934
12935
12936
12937
12938
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12934

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