Class: Google::Apis::DfareportingV2_1::ListProjectsResponse

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

Project List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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

#kindString

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

Returns:

  • (String)

8449
8450
8451
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8449

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)

8454
8455
8456
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8454

def next_page_token
  @next_page_token
end

#projectsArray<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