Class: Google::Apis::DfareportingV2_6::ListDirectorySitesResponse

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

Overview

Directory Site List Response

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) ⇒ ListDirectorySitesResponse


5083
5084
5085
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5083

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

Instance Attribute Details

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

Directory site collection. Corresponds to the JSON property directorySites


5070
5071
5072
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5070

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


5076
5077
5078
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5076

def kind
  @kind
end

#next_page_tokenString

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


5081
5082
5083
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5081

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5088
5089
5090
5091
5092
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5088

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