Class: Google::Apis::CloudresourcemanagerV2beta1::ListFoldersResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV2beta1::ListFoldersResponse
- Defined in:
- generated/google/apis/cloudresourcemanager_v2beta1/classes.rb,
generated/google/apis/cloudresourcemanager_v2beta1/representations.rb,
generated/google/apis/cloudresourcemanager_v2beta1/representations.rb
Overview
The ListFolders response message.
Instance Attribute Summary collapse
-
#folders ⇒ Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>
A possibly paginated list of Folders that are direct descendants of the specified parent resource.
-
#next_page_token ⇒ String
A pagination token returned from a previous call to
ListFolders
that indicates from where listing should continue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListFoldersResponse
constructor
A new instance of ListFoldersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListFoldersResponse
Returns a new instance of ListFoldersResponse
326 327 328 |
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#folders ⇒ Array<Google::Apis::CloudresourcemanagerV2beta1::Folder>
A possibly paginated list of Folders that are direct descendants of
the specified parent resource.
Corresponds to the JSON property folders
317 318 319 |
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 317 def folders @folders end |
#next_page_token ⇒ String
A pagination token returned from a previous call to ListFolders
that indicates from where listing should continue.
This field is optional.
Corresponds to the JSON property nextPageToken
324 325 326 |
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 324 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
331 332 333 334 |
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 331 def update!(**args) @folders = args[:folders] if args.key?(:folders) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |