ProjectsLocationsInstancesResource class Null safety


ProjectsLocationsInstancesResource(ApiRequester client)


hashCode int
The hash code for this object.
runtimeType Type
A representation of the runtime type of the object.


create(Instance request, String parent, {String? instanceId, String? $fields}) Future<Operation>
Creates a Redis instance based on the specified tier and memory size.
delete(String name, {String? $fields}) Future<Operation>
Deletes a specific Redis instance.
export(ExportInstanceRequest request, String name, {String? $fields}) Future<Operation>
Export Redis instance data into a Redis RDB format file in Cloud Storage.
failover(FailoverInstanceRequest request, String name, {String? $fields}) Future<Operation>
Initiates a failover of the primary node to current replica node for a specific STANDARD tier Cloud Memorystore for Redis instance.
get(String name, {String? $fields}) Future<Instance>
Gets the details of a specific Redis instance.
getAuthString(String name, {String? $fields}) Future<InstanceAuthString>
Gets the AUTH string for a Redis instance.
import(ImportInstanceRequest request, String name, {String? $fields}) Future<Operation>
Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListInstancesResponse>
Lists all Redis instances owned by a project in either the specified location (region) or all locations.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
patch(Instance request, String name, {String? updateMask, String? $fields}) Future<Operation>
Updates the metadata and configuration of a specific Redis instance.
rescheduleMaintenance(RescheduleMaintenanceRequest request, String name, {String? $fields}) Future<Operation>
Reschedule maintenance for a given instance in a given project and location.
toString() String
A string representation of this object.
upgrade(UpgradeInstanceRequest request, String name, {String? $fields}) Future<Operation>
Upgrades Redis instance to the newer Redis version specified in the request.


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