FoldersResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(Folder request, {String? $fields})
→ Future<Operation>
-
Creates a folder in the resource hierarchy.
-
delete(String name, {String? $fields})
→ Future<Operation>
-
Requests deletion of a folder.
-
get(String name, {String? $fields})
→ Future<Folder>
-
Retrieves a folder identified by the supplied resource name.
-
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Gets the access control policy for a folder.
-
list({int? pageSize, String? pageToken, String? parent, bool? showDeleted, String? $fields})
→ Future<ListFoldersResponse>
-
Lists the folders that are direct descendants of supplied parent resource.
-
move(MoveFolderRequest request, String name, {String? $fields})
→ Future<Operation>
-
Moves a folder under a new resource parent.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(Folder request, String name, {String? updateMask, String? $fields})
→ Future<Operation>
-
Updates a folder, changing its
display_name
.
-
search({int? pageSize, String? pageToken, String? query, String? $fields})
→ Future<SearchFoldersResponse>
-
Search for folders that match specific filter criteria.
-
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Sets the access control policy on a folder, replacing any existing policy.
-
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields})
→ Future<TestIamPermissionsResponse>
-
Returns permissions that a caller has on the specified folder.
-
toString()
→ String
-
A string representation of this object.
inherited
-
undelete(UndeleteFolderRequest request, String name, {String? $fields})
→ Future<Operation>
-
Cancels the deletion request for a folder.