Class: Google::Apis::DfareportingV2_1::FileList

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

Overview

Represents the list of File resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FileList

Returns a new instance of FileList.



4977
4978
4979
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4977

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)


4957
4958
4959
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4957

def etag
  @etag
end

#itemsArray<Google::Apis::DfareportingV2_1::File>

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



4962
4963
4964
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4962

def items
  @items
end

#kindString

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

Returns:

  • (String)


4967
4968
4969
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4967

def kind
  @kind
end

#next_page_tokenString

Continuation token used to page through files. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4975
4976
4977
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4975

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4982
4983
4984
4985
4986
4987
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4982

def update!(**args)
  @etag = args[:etag] unless args[:etag].nil?
  @items = args[:items] unless args[:items].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
end