Class: Google::Apis::CloudresourcemanagerV2::SearchFoldersResponse

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

Overview

The response message for searching folders.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchFoldersResponse

Returns a new instance of SearchFoldersResponse.



790
791
792
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 790

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

Instance Attribute Details

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

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



782
783
784
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 782

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)


788
789
790
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 788

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



795
796
797
798
# File 'generated/google/apis/cloudresourcemanager_v2/classes.rb', line 795

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