ProjectsLocationsClustersInstancesResource class

Constructors

ProjectsLocationsClustersInstancesResource(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(Instance request, String parent, {String? instanceId, String? requestId, bool? validateOnly, String? $fields}) Future<Operation>
Creates a new Instance in a given project and location.
createsecondary(Instance request, String parent, {String? instanceId, String? requestId, bool? validateOnly, String? $fields}) Future<Operation>
Creates a new SECONDARY Instance in a given project and location.
delete(String name, {String? etag, String? requestId, bool? validateOnly, String? $fields}) Future<Operation>
Deletes a single Instance.
failover(FailoverInstanceRequest request, String name, {String? $fields}) Future<Operation>
Forces a Failover for a highly available instance.
get(String name, {String? view, String? $fields}) Future<Instance>
Gets details of a single Instance.
getConnectionInfo(String parent, {String? requestId, String? $fields}) Future<ConnectionInfo>
Get instance metadata used for a connection.
injectFault(InjectFaultRequest request, String name, {String? $fields}) Future<Operation>
Injects fault in an instance.
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListInstancesResponse>
Lists Instances in a given project and location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Instance request, String name, {bool? allowMissing, String? requestId, String? updateMask, bool? validateOnly, String? $fields}) Future<Operation>
Updates the parameters of a single Instance.
restart(RestartInstanceRequest request, String name, {String? $fields}) Future<Operation>
Restart an Instance in a cluster.
toString() String
A string representation of this object.
inherited

Operators

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