Class: Google::Apis::CloudresourcemanagerV3::SearchFoldersResponse

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

Overview

The response message for searching folders.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchFoldersResponse

Returns a new instance of SearchFoldersResponse.



1323
1324
1325
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1323

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

Instance Attribute Details

#foldersArray<Google::Apis::CloudresourcemanagerV3::Folder>

A possibly paginated folder search results. the specified parent resource. Corresponds to the JSON property folders



1315
1316
1317
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1315

def folders
  @folders
end

#next_page_tokenString

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

Returns:

  • (String)


1321
1322
1323
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1321

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1328
1329
1330
1331
# File 'lib/google/apis/cloudresourcemanager_v3/classes.rb', line 1328

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