ProjectsLocationsInstancesResource 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(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 nonexistent method or property is accessed.
inherited
-
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.
inherited
-
upgrade(UpgradeInstanceRequest request, String name, {String? $fields})
→ Future<Operation>
-
Upgrades Redis instance to the newer Redis version specified in the
request.