Class: Google::Apis::CloudresourcemanagerV2beta1::ListFoldersResponse

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

Overview

The ListFolders response message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListFoldersResponse

Returns a new instance of ListFoldersResponse.



693
694
695
# File 'lib/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 693

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

Instance Attribute Details

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



685
686
687
# File 'lib/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 685

def folders
  @folders
end

#next_page_tokenString

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


691
692
693
# File 'lib/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 691

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



698
699
700
701
# File 'lib/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 698

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