FoldersResource class

Constructors

FoldersResource(ApiRequester client)

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? parent, String? $fields}) Future<Operation>
Creates a Folder in the resource hierarchy.
delete(String name, {String? $fields}) Future<Folder>
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<Folder>
Updates a Folder, changing its display_name.
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<Folder>
Cancels the deletion request for a Folder.

Operators

operator ==(Object other) bool
The equality operator.
inherited