updateInstance method

ResponseFuture<UpdateInstanceResponse> updateInstance(
  1. UpdateInstanceRequest request, {
  2. CallOptions? options,
})

Update Instance

Updates instance's name in the current context or by its ID. By default the instance will be determined by the context of the request, e.g. the host header. You can optionally pass an InstanceID to update a specific instance. This requires additional permissions.

Required permissions:

  • iam.write
  • system.instance.write (if InstanceID is set)

Implementation

$grpc.ResponseFuture<$0.UpdateInstanceResponse> updateInstance(
  $0.UpdateInstanceRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$updateInstance, request, options: options);
}