Class: Google::Apis::CloudresourcemanagerV2beta1::SearchFoldersResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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 response message for searching folders.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchFoldersResponse

Returns a new instance of SearchFoldersResponse.



950
951
952
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 950

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

Instance Attribute Details

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

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



942
943
944
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 942

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)


948
949
950
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 948

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



955
956
957
958
# File 'generated/google/apis/cloudresourcemanager_v2beta1/classes.rb', line 955

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