Class: Google::Apis::DfareportingV2_6::ListSitesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_6::ListSitesResponse
- 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
Site List Response
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#next_page_token ⇒ String
Pagination token to be used for the next list operation.
-
#sites ⇒ Array<Google::Apis::DfareportingV2_6::Site>
Site collection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSitesResponse
constructor
A new instance of ListSitesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListSitesResponse
Returns a new instance of ListSitesResponse
10529 10530 10531 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#sitesListResponse".
Corresponds to the JSON property kind
10517 10518 10519 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10517 def kind @kind end |
#next_page_token ⇒ String
Pagination token to be used for the next list operation.
Corresponds to the JSON property nextPageToken
10522 10523 10524 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10522 def next_page_token @next_page_token end |
#sites ⇒ Array<Google::Apis::DfareportingV2_6::Site>
Site collection.
Corresponds to the JSON property sites
10527 10528 10529 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10527 def sites @sites end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10534 10535 10536 10537 10538 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10534 def update!(**args) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sites = args[:sites] if args.key?(:sites) end |