Class: Google::Apis::DfareportingV3_3::ProjectsListResponse

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

Overview

Project List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProjectsListResponse

Returns a new instance of ProjectsListResponse.



9230
9231
9232
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9230

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)


9218
9219
9220
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9218

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)


9223
9224
9225
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9223

def next_page_token
  @next_page_token
end

#projectsArray<Google::Apis::DfareportingV3_3::Project>

Project collection. Corresponds to the JSON property projects



9228
9229
9230
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9228

def projects
  @projects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9235
9236
9237
9238
9239
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9235

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