Class: Google::Apis::DfareportingV2_1::ListProjectsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ListProjectsResponse
- 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
Project 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.
-
#projects ⇒ Array<Google::Apis::DfareportingV2_1::Project>
Project collection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListProjectsResponse
constructor
A new instance of ListProjectsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListProjectsResponse
Returns a new instance of ListProjectsResponse.
8461 8462 8463 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#projectsListResponse".
Corresponds to the JSON property kind
8449 8450 8451 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8449 def kind @kind end |
#next_page_token ⇒ String
Pagination token to be used for the next list operation.
Corresponds to the JSON property nextPageToken
8454 8455 8456 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8454 def next_page_token @next_page_token end |
#projects ⇒ Array<Google::Apis::DfareportingV2_1::Project>
Project collection.
Corresponds to the JSON property projects
8459 8460 8461 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8459 def projects @projects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8466 8467 8468 8469 8470 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8466 def update!(**args) @kind = args[:kind] unless args[:kind].nil? @next_page_token = args[:next_page_token] unless args[:next_page_token].nil? @projects = args[:projects] unless args[:projects].nil? end |