ProjectsLocationsStoragePoolsResource class

Constructors

ProjectsLocationsStoragePoolsResource.new(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(StoragePool request, String parent, {String? storagePoolId, String? $fields}) Future<Operation>
Creates a new storage pool.
delete(String name, {String? $fields}) Future<Operation>
Warning! This operation will permanently delete the storage pool.
get(String name, {String? $fields}) Future<StoragePool>
Returns the description of the specified storage pool by poolId.
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListStoragePoolsResponse>
Returns descriptions of all storage pools owned by the caller.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(StoragePool request, String name, {String? updateMask, String? $fields}) Future<Operation>
Updates the storage pool properties with the full spec
switch_(SwitchActiveReplicaZoneRequest request, String name, {String? $fields}) Future<Operation>
This operation will switch the active/replica zone for a regional storagePool.
toString() String
A string representation of this object.
inherited
validateDirectoryService(ValidateDirectoryServiceRequest request, String name, {String? $fields}) Future<Operation>
ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.

Operators

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