Class: Google::Apis::DfareportingV4::DirectorySitesListResponse

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

Directory Site List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectorySitesListResponse

Returns a new instance of DirectorySitesListResponse.



5767
5768
5769
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5767

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

Instance Attribute Details

#directory_sitesArray<Google::Apis::DfareportingV4::DirectorySite>

Directory site collection. Corresponds to the JSON property directorySites



5754
5755
5756
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5754

def directory_sites
  @directory_sites
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#directorySitesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


5760
5761
5762
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5760

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5765
5766
5767
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5765

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5772
5773
5774
5775
5776
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5772

def update!(**args)
  @directory_sites = args[:directory_sites] if args.key?(:directory_sites)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end