Class: Google::Apis::ContentV2_1::ListCollectionStatusesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Response message for the ListCollectionStatuses method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCollectionStatusesResponse

Returns a new instance of ListCollectionStatusesResponse.



6304
6305
6306
# File 'lib/google/apis/content_v2_1/classes.rb', line 6304

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


6297
6298
6299
# File 'lib/google/apis/content_v2_1/classes.rb', line 6297

def next_page_token
  @next_page_token
end

#resourcesArray<Google::Apis::ContentV2_1::CollectionStatus>

The collectionstatuses listed. Corresponds to the JSON property resources



6302
6303
6304
# File 'lib/google/apis/content_v2_1/classes.rb', line 6302

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6309
6310
6311
6312
# File 'lib/google/apis/content_v2_1/classes.rb', line 6309

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